package com.integrate.mybatis.mapper;

import com.integrate.mybatis.domain.ConsumerUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author 刘志强
 * @date 2020/11/27 14:22
 */
@Mapper
public interface ConsumerUserMapper {

    /**
     * 获取消费库用户
     *
     * @param id
     * @return
     */
    ConsumerUser getConsumerUserById(@Param("id") Long id);

    /**
     * 添加消费库用户
     * @param consumerUser
     * @return
     */
    int addConsumerUser(ConsumerUser consumerUser);
}
